package com.slz3.business.module.goodsManagement.gooTypeLevel2.domain;

import lombok.Data;
import org.springframework.util.StringUtils;

import java.util.List;
import java.util.UUID;

@Data
public class GooTypeLevel2Condition extends GooTypeLevel2 {

    private List<UUID> uuidList;

    private UUID oneId;

    public String gooTypeName;

    public List<UUID> getUuidList() {
        return uuidList;
    }

    public UUID getOneId() {
        return oneId;
    }

    public void setOneId(String oneId) {
        if (StringUtils.hasText(oneId)) {
            this.oneId = UUID.fromString(oneId);
        }
    }

}
